{anchor:msg_delete_0}
!! Delete message
Delete message
!!! Constructor
!!!! new COSA.Request.Delete(logicalName, id, requestId)
|| Param || Type || Description ||
| logicalName | {{string}} | Entity logical name |
| id | {{string}} | Entity to delete unique identifier (GUID) |
| requestId _(optional)_ | {{string}} | Request unique identifier (GUID) |
!!! Instance Properties
|| Name || Type || Description ||
| logicalName | {{string}} | Entity logical name |
| id | {{string}} | Guid-like string as Entity unique identifier |
| requestId _(optional)_ | {{string}} | Guid-like string as Request unique identifier |
!!! Example
{code:javascript}
(new COSA.Request.Delete('contact', 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'))
    .execute(function ( r ) {
       //Working with a response
    });
//or
var deleteRequest_0 = new COSA.Request.Delete('contact', 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX');
COSA.Core.Execute(deleteRequest_0, function ( r ) {
	//Working with a response
});
{code:javascript}

[Back to Top|#tbl_contents_0]